package com.example.secondhandshop.bean;

import java.util.List;

public class ApiAllGoodsData {
    private List<Item> records;
    private List<Item1> records1;// 二手交易平台用户商品实体数据列表
    private int current;          // 当前页
    private int size;             // 页面大小
    private int total;            // 共多少条
    public String toString() {
        return "Pagination{" +
                "records=" + records + " (size: " + (records != null ? records.size() : 0) + ")" +
                ", current=" + current +
                ", size=" + size +
                ", total=" + total +
                '}';
    }
    // Getter 和 Setter 方法

    public List<Item> getRecords() {
        return records;
    }
    public List<Item1> getRecords1() {
        return records1;
    }
    public void setRecords1(List<Item1> records1) {
        this.records1 = records1;
    }

    public void setRecords(List<Item> records) {
        this.records = records;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}

